package top.dingyingying.springboot3.service;

import top.dingyingying.springboot3.base.PageBean;
import top.dingyingying.springboot3.base.R;
import top.dingyingying.springboot3.entity.TbContact;
import top.dingyingying.springboot3.vo.PageVo;

public interface TbContactService {
    R<String> insert(TbContact tbContact);

    R<PageVo<TbContact>> query(TbContact tbContact, PageBean pageBean);

    R<String> delete(Integer id);

    R<TbContact> queryById(Integer id);

    R<String> update(TbContact tbContact);
}
